import { request } from '@/utils/request'

export function status () {
    return request({
      url: '/api/manage/status',
      method: 'get',
    })
}

export function page (params) {
    return request({
        url: '/api/manage/page',
        params
    })
}

export function create (data) {
    return request({
      url: '/api/manage/create',
      method: 'post',
      data
    })
}
  
export function update (data) {
    return request({
      url: '/api/manage/update',
      method: 'post',
      data
    })
}

export function equipDelete (data) {
    return request({
      url: '/api/manage/delete',
      method: 'post',
      data
    })
}

export function query (params) {
    return request({
        url: '/api/manage/query',
        params
    })
}